package com.project.forlearning.controller;

import com.project.forlearning.pojo.*;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = {"该接口不作为交互接口，仅仅为了Swagger显示实体类而存在"})
@RestController
@CrossOrigin
public class Controller {


    @GetMapping("/asdqiuhuxnxw23c423iu")
    public Admin returnAdmin(){
        return new Admin();
    }

    @GetMapping("/asdqiuhuxnxw23asd23iu")
    public Comment returnComment(){
        return new Comment();
    }

    @GetMapping("/asd23423ff4f34f33333iu")
    public ReportResource returnReportResource(){
        return new ReportResource();
    }

    @GetMapping("/as11111111111d3xasiu")
    public Resource returnResource(){
        return new Resource();
    }

    @GetMapping("/xnuawnsjmqwejcasf")
    public User returnUser(){
        return new User();
    }
}
